<%#
#  Copyright 2009 Swansea University.
# 
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
# 
#       http://www.apache.org/licenses/LICENSE-2.0
# 
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#  under the License.
%>

<% headline "Details of your #{rank_in_words(@selected_project.position)} ranked project" %>



<% project = @selected_project.project %>

<%= supervisor_for(project) || "Supervisor not specified"%>

<%= render(:partial => "projects/project_description", :locals => {:project => project}) %>

<%= render( :partial => "shared/list_disciplines", :object => project) %>

<p><%= link_to 'Back', project_selection_selected_projects_path %> |
<strong>Project ranked</strong>: <%= @selected_project.position %> of
<%= @project_selection.selected_projects(true).size %>
<%= link_to 'Change rank', edit_project_selection_selected_project_path(@project_selection, @selected_project) %></p>
